import {defineStore} from "pinia";

const useStore = defineStore('user', {
    // persist: {
    //     storage: sessionStorage,
    //     paths: ['user_id']
    // },
    state: () => {
        return {
            role_id: null,
            user_id: null,
            user_name: null,
            user_tel: null
        }
    },
    persist: true,
    getters: {

    },
    actions: {

    }
})

export default useStore